package cn.mcartoon.pojo;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/***
*   漫画-章节表
*/
@Data
public class MmChapter implements Serializable {
    //主键ID
    private Long chapterId;
    //章节编号
    private Integer chapterNo;
    //章节类型 1-->连载；2-->番外；3-->卷
    private Integer chapterType;
    //章节封面路径
    private String chapterCover;
    //动漫表主键ID
    private Long cartoonId;
    //章节名称
    private String chapterName;
    //次元币
    private BigDecimal secondaryCurrency;
    //是否需要付费 1-->是；2-->否
    private Integer isPay;
    //章节内容总页数
    private Integer contentPage;
    //创建人
    private Long createdUserId;
    //修改人
    private Long updatedUserId;
    //是否删除(0:否,1:是)
    private Integer isDelete;
    //创建时间
    private Date creatdTime;
    //修改时间
    private Date updatedTime;
    //下一章的章节id；为-1是最后一章
    private Long nextChapterId;
    //上一章的章节id；为-1是第一章
    private Long lastChapterId;
    //get set 方法
    public void setChapterId (Long  chapterId){
        this.chapterId=chapterId;
    }
    public  Long getChapterId(){
        return this.chapterId;
    }
    public void setChapterNo (Integer  chapterNo){
        this.chapterNo=chapterNo;
    }
    public  Integer getChapterNo(){
        return this.chapterNo;
    }
    public void setChapterType (Integer  chapterType){
        this.chapterType=chapterType;
    }
    public  Integer getChapterType(){
        return this.chapterType;
    }
    public void setChapterCover (String  chapterCover){
        this.chapterCover=chapterCover;
    }
    public  String getChapterCover(){
        return this.chapterCover;
    }
    public void setCartoonId (Long  cartoonId){
        this.cartoonId=cartoonId;
    }
    public  Long getCartoonId(){
        return this.cartoonId;
    }
    public void setChapterName (String  chapterName){
        this.chapterName=chapterName;
    }
    public  String getChapterName(){
        return this.chapterName;
    }
    public void setSecondaryCurrency (BigDecimal  secondaryCurrency){
        this.secondaryCurrency=secondaryCurrency;
    }
    public  BigDecimal getSecondaryCurrency(){
        return this.secondaryCurrency;
    }
    public void setIsPay (Integer  isPay){
        this.isPay=isPay;
    }
    public  Integer getIsPay(){
        return this.isPay;
    }
    public void setContentPage (Integer  contentPage){
        this.contentPage=contentPage;
    }
    public  Integer getContentPage(){
        return this.contentPage;
    }
    public void setCreatedUserId (Long  createdUserId){
        this.createdUserId=createdUserId;
    }
    public  Long getCreatedUserId(){
        return this.createdUserId;
    }
    public void setUpdatedUserId (Long  updatedUserId){
        this.updatedUserId=updatedUserId;
    }
    public  Long getUpdatedUserId(){
        return this.updatedUserId;
    }
    public void setIsDelete (Integer  isDelete){
        this.isDelete=isDelete;
    }
    public  Integer getIsDelete(){
        return this.isDelete;
    }
    public void setCreatdTime (Date  creatdTime){
        this.creatdTime=creatdTime;
    }
    public  Date getCreatdTime(){
        return this.creatdTime;
    }
    public void setUpdatedTime (Date  updatedTime){
        this.updatedTime=updatedTime;
    }
    public  Date getUpdatedTime(){
        return this.updatedTime;
    }
    public void setNextChapterId (Long  nextChapterId){
        this.nextChapterId=nextChapterId;
    }
    public  Long getNextChapterId(){
        return this.nextChapterId;
    }
    public void setLastChapterId (Long  lastChapterId){
        this.lastChapterId=lastChapterId;
    }
    public  Long getLastChapterId(){
        return this.lastChapterId;
    }
}
